package com.zhang.serviceprice.service;

import com.zhang.internalcommon.dto.PriceRule;
import com.zhang.internalcommon.dto.ResponseResult;

/**
 * 类功能描述
 *
 * @author Kye
 * @date 2025-04-17
 */
public interface PriceRuleService {
	ResponseResult add(PriceRule priceRule);

	ResponseResult edit(PriceRule priceRule);

	ResponseResult<PriceRule> getNewestVersion(String fareType);

	ResponseResult<Boolean> isNew(String fareType, Integer fareVersion);

	ResponseResult<Boolean> ifExists(PriceRule priceRule);
}
